package cn.ffcs.uec.view.manager.impl;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.staffAndOutStaff.vo.StaffAndOutStaff;
import cn.ffcs.uec.view.dao.UecImportantWorkDao;
import cn.ffcs.uec.view.manager.UecImportantWorkManager;
import cn.ffcs.uec.view.model.UecImportantWork;
import cn.ffcs.uom.common.vo.PageInfo;
@Service("uecImportantWorkManager")
@Scope("prototype")
public class UecImportantWorkManagerImpl implements UecImportantWorkManager {
	@Resource
   private UecImportantWorkDao uecImportantWorkDao;

	@Override
	public PageInfo queryPageInfoByUecImportant(UecImportantWork uecImportant, int current, int pageSize) {
		// TODO Auto-generated method stub
		return this.uecImportantWorkDao.queryPageInfoByUecImportant(uecImportant, current, pageSize);
	}

	@Override
	public UecImportantWork findUecImportantById(UecImportantWork uecImportant) {
		// TODO Auto-generated method stub
		return this.uecImportantWorkDao.findUecImportantById(uecImportant);
	}

	@Override
	public List<UecImportantWork> findUecImportantByPkPsndoc(StaffAndOutStaff staffAndOutStaff,String joinType) {
		// TODO Auto-generated method stub
		return this.uecImportantWorkDao.findUecImportantByPkPsndoc(staffAndOutStaff,joinType);
	}

	@Override
	public List<UecImportantWork> findUecImportantByPkPsndocAndDiffDate(StaffAndOutStaff staffAndOutStaff,String joinType) {
		// TODO Auto-generated method stub
		return this.uecImportantWorkDao.findUecImportantByPkPsndocAndDiffDate(staffAndOutStaff,joinType);
	}

}
